package com.sinog.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 * @desc 通知公告(定时抽取司法部通知公告)
 * @author zhangcb
 * @date 2020年2月16日 20点32分
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class NoticeInfoSfb extends Model<NoticeInfoSfb> {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.INPUT)
    private String id;
    private String title;
    private String usertype;
    private String proid;
    private Date adddate;
    private String cColor;
    private String addip;
    private String enddate;
    private String fabulevel;
    private String addgovid;
    private String createUser;
    private String announce;
    /**
     * 0:新增,1:发布,2:取消发布,3:删除,4:修改
     */
    private String state;

    @Override
    protected Serializable pkVal() {
        return id;
    }
}